<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/promote.css"/>
<script type="text/javascript" src="/js/promote.js"></script>

<input type="hidden" name="promoteSeq" value="<s:property value="promoteInfoDetail.promoteSeq"/>"/>

<!-- 오른쪽 내용 시작 -->
      <dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/promote/SubContents_Tit_01.gif" width="370" height="42" alt="홍보 실적" /></span> <span class="top_navi">HOME > 업무보고 > 홍보 실적</span></dd>
        <dd class="Right_Contents_Search"><img src="/images/report/apply/SubContents_Tit_CenterChoice.gif" width="81" height="21" alt="센터선택" /></dd>
         <dd class="Right_Contents_SearchOption">
         	<span style="font-weight: bold; color: blue;"><s:property value="#session.deskCodeValue"/></span>
        </dd>
        <dd class="Right_Contents_SearchDate">마지막 수정일 : <span class="TEXT_Red_Bold"> <s:property value="promoteInfoDetail.modifyTime"/></span></dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="viewboard" border="1" cellspacing="0" summary="글 내용을 표시">
                <caption> 글 읽기</caption>
                <colgroup><col width="130px"><col width="244px"><col width="100px"><col width="244px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />관리번호</th>
                    <td class="Top_line"><s:property value="promoteInfoDetail.manageNo"/></td>
                    <th scope="row" class="Top_line"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />일&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;자</th>
                    <td class="Top_line"><s:property value="promoteInfoDetail.promoteDate"/> ~ <s:property value="promoteInfoDetail.doneDate"/></td> 
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />홍보방법</th>
                    <td colspan="3"><s:property value="promoteInfoDetail.promoteWay"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />대&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;상</th>
                    <td colspan="3"><s:property value="promoteInfoDetail.promoteTarget"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />수&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;량</th>
                    <td colspan="3"><s:property value="promoteInfoDetail.promoteAmount"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />내&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;용</th>
                    <td colspan="3"><s:property value="promoteInfoDetail.promoteContent" escape="false"/></td>
                  </tr>                                                                       
                                                          
                  <tr>
                    <th scope="row" rowspan="2" class="Bottom_line"><img src="/images/report/promote/board_Icon_dot.gif" width="15" height="12" alt="" />첨부파일</th>
                    <td colspan="3" class="Bottom_line">
                    	<!-- 
                    	<s:url id="download" namespace="/common" action="fileDownload.desk" includeParams="none">
                       		<s:param name="fileName"><s:property value="promoteInfoDetail.uploadFileName"/></s:param>
                       		<s:param name="filePath"><s:property value="promoteInfoDetail.pathName"/></s:param>
                       	</s:url>
                       	<s:a href="%{download}"><s:property value="promoteInfoDetail.uploadFileName" escape="false"/></s:a>
                       	-->
                       	<s:if test="%{promoteInfoDetail.uploadFileName != null}">
	                      		<form name="form_file_download" method="POST" action="/common/fileDownload.desk">
		                      		<input type="hidden" name="fileName" value="<s:property value="promoteInfoDetail.uploadFileName"/>"/>
		                      		<input type="hidden" name="filePath" value="<s:property value="promoteInfoDetail.pathName"/>"/>
	                      		</form>
	                      		<img src="/images/notice/icon_file.gif" width="11" height="11" alt="첨부파일" /> 
	                      		<span class="download" style="cursor:pointer;"><s:property value="promoteInfoDetail.uploadFileName"/></span>
	                    </s:if>
                    </td>
                  </tr>
              
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/promote/promoteList.desk"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone">
             	<a href="/promote/promoteModifyForm.desk?promoteSeq=<s:property value="promoteInfoDetail.promoteSeq"/>"><img src="/images/report/promote/btn_edit.gif" width="111" height="26" alt="홍보실적 수정" /></a>&nbsp;
             	<img src="/images/notice/btn_del.gif" id="btn_promote_del" alt="삭제" width="54" height="26" border="0" style="cursor:pointer;"/></dd>
            </dl><!-- 버튼 부분 -->           
          </div>
        </dd>
      </dl>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
  <!-- center 나누어 지는 부분 끝 --> 
</div>